package com.rong.kim.common;

import java.util.List;

/**
 * 模拟一个业务模型类
 */
public class Lion {
    public void runLion() throws InterruptedException {
        System.out.println("Lion is going to run........");
    }

    public int runLion(int x, List list) throws InterruptedException {
        System.out.println("Lion 2 is going to run........");

        return x + list.size();
    }

    public static long runLion(int x, long y) throws InterruptedException {
        System.out.println("Lion 3 is going to run........");

        return x + y;
    }
}
